// /common/http.api.js

const install = (Vue, vm) => {
	vm.$u.api={}
	const http = uni.$u.http
	vm.$u.api.index = (params = {}) => http.get('/api/index',params);
}

export default {
	install
}